package com.linewell.system.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.linewell.system.dao.ISysMenuActionsDao;
import com.linewell.system.model.SysMenuActions;
import com.linewell.system.service.ISysMenuActionsService;
@Service
public class SysMenuActionsServiceImpl implements ISysMenuActionsService{
	@Autowired
     private ISysMenuActionsDao sysMenuActionsDao;

	@Override
	public List<SysMenuActions> getInterNeeds(String desstr) {
		String hql = " from SysMenuActions t where t.menuId in (" + desstr + ") ";
		return sysMenuActionsDao.find(hql);
	}
}
